package com.anycl.spring.web.dao;

import com.anycl.spring.web.entity.Spittle;

import java.util.List;

public interface SpittleRepository {

    List<Spittle> findAll();
    /**
     *
     * @param max ID最大值
     * @param count 数目
     * @return list
     */
    List<Spittle> findSpittles(long max, int count);
}
